function M1_L23_listofcells

Bird_Group = {LW0715_exc, LW0716_exc, LW0717_exc, LW0718_exc, LW0719_exc, LW0722_exc, LW0741_exc,...
    LW0742_exc, LW0744_exc, LW0746_exc, LW0747_exc, LW0748_exc, LW0749_exc, LW0750_exc, LW0751_exc,...
    LW0753_exc};

WT_Group = {LW0709_exc, LW0711_exc, LW0723_exc, LW0724_exc, LW0726_exc, LW0727_exc, LW0728_exc,...
    LW0730_exc, LW0732_exc, LW0733_exc, LW0735_exc, LW0737_exc, LW0738_exc, LW0739_exc, LW0754_exc};

Birdages = [];
BirdVrs = [];
BirdCms = [];
BirdRss = [];
BirdRms = [];
BirdTaus = [];
BirdZs = [];
BirdYfracs = [];
BirdYcortexs = [];
WTages = [];
WTVrs = [];
WTCms = [];
WTRss = [];
WTRms = [];
WTTaus = [];
WTZs = [];
WTYfracs = [];
WTYcortexs = [];


for i = 1:numel(Bird_Group)
    Birdage = Bird_Group{1, i}.age;
    Birdages = [Birdages, Birdage];
    BirdVr = Bird_Group{1, i}.Vrest;
    BirdVrs = [BirdVrs, BirdVr];
    BirdCm = Bird_Group{1, i}.Cm;
    BirdCms = [BirdCms, BirdCm];    
    BirdRs = Bird_Group{1, i}.Rs;
    BirdRss = [BirdRss, BirdRs];
    BirdRm = Bird_Group{1, i}.Rm;
    BirdRms = [BirdRms, BirdRm];
    BirdTau = Bird_Group{1, i}.tau;
    BirdTaus = [BirdTaus, BirdTau];
    BirdZ = Bird_Group{1, i}.z;
    BirdZs = [BirdZs, BirdZ];
    BirdYfrac = str2double(Bird_Group{1, i}.yfrac);
    BirdYfracs = [BirdYfracs, BirdYfrac];
    BirdYcortex = str2double(Bird_Group{1, i}.yWM);
    BirdYcortexs = [BirdYcortexs, BirdYcortex];
end

for i = 1:numel(WT_Group)
    WTage = WT_Group{1, i}.age;
    WTages = [WTages, WTage];
    WTVr = WT_Group{1, i}.Vrest;
    WTVrs = [WTVrs, WTVr];
    WTCm = WT_Group{1, i}.Cm;
    WTCms = [WTCms, WTCm];    
    WTRs = WT_Group{1, i}.Rs;
    WTRss = [WTRss, WTRs];
    WTRm = WT_Group{1, i}.Rm;
    WTRms = [WTRms, WTRm];
    WTTau = WT_Group{1, i}.tau;
    WTTaus = [WTTaus, WTTau];
    WTZ = WT_Group{1, i}.z;
    WTZs = [WTZs, WTZ];
    WTYfrac = str2double(WT_Group{1, i}.yfrac);
    WTYfracs = [WTYfracs, WTYfrac];
    WTYcortex = str2double(WT_Group{1, i}.yWM);
    WTYcortexs = [WTYcortexs, WTYcortex];
end

avg_Birdages = mean(Birdages)
std_Birdages = std(Birdages)
avg_BirdVrs = mean(BirdVrs)
std_BirdVrs = std(BirdVrs)
avg_BirdCms = mean(BirdCms)
std_BirdCms = std(BirdCms)
avg_BirdRss = mean(BirdRss)
std_BirdRss = std(BirdRss)
avg_BirdRms = mean(BirdRms)
std_BirdRms = std(BirdRms)
avg_BirdTaus = mean(BirdTaus)
std_BirdTaus = std(BirdTaus)
avg_BirdZs = mean(BirdZs)
std_BirdZs = std(BirdZs)
avg_BirdYfracs = mean(BirdYfracs)
std_BirdYfracs = std(BirdYfracs)
avg_BirdYcortexs = mean(BirdYcortexs)
std_BirdYcortexs = std(BirdYcortexs)

avg_WTages = mean(WTages)
std_WTages = std(WTages)
avg_WTVrs = mean(WTVrs)
std_WTVrs = std(WTVrs)
avg_WTCms = mean(WTCms)
std_WTCms = std(WTCms)
avg_WTRss = mean(WTRss)
std_WTRss = std(WTRss)
avg_WTRms = mean(WTRms)
std_WTRms = std(WTRms)
avg_WTTaus = mean(WTTaus)
std_WTTaus = std(WTTaus)
avg_WTZs = mean(WTZs)
std_WTZs = std(WTZs)
avg_WTYfracs = mean(WTYfracs)
std_WTYfracs = std(WTYfracs)
avg_WTYcortexs = mean(WTYcortexs)
std_WTYcortexs = std(WTYcortexs)

assignin('base', 'BirdYcortexs', BirdYcortexs)
assignin('base', 'WTYcortexs', WTYcortexs)

